Optimal. Leaf size=27 \[ -\frac {(3 x+2) \tanh ^{-1}(3 x+1)}{\sqrt {9 x^2+12 x+4}} \]
[Out]
________________________________________________________________________________________
Rubi [B] time = 0.01, antiderivative size = 55, normalized size of antiderivative = 2.04, number of steps used = 4, number of rules used = 4, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {646, 36, 29, 31} \[ \frac {(3 x+2) \log (x)}{2 \sqrt {9 x^2+12 x+4}}-\frac {(3 x+2) \log (3 x+2)}{2 \sqrt {9 x^2+12 x+4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 646
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt {4+12 x+9 x^2}} \, dx &=\frac {(6+9 x) \int \frac {1}{x (6+9 x)} \, dx}{\sqrt {4+12 x+9 x^2}}\\ &=\frac {(6+9 x) \int \frac {1}{x} \, dx}{6 \sqrt {4+12 x+9 x^2}}-\frac {(3 (6+9 x)) \int \frac {1}{6+9 x} \, dx}{2 \sqrt {4+12 x+9 x^2}}\\ &=\frac {(2+3 x) \log (x)}{2 \sqrt {4+12 x+9 x^2}}-\frac {(2+3 x) \log (2+3 x)}{2 \sqrt {4+12 x+9 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 31, normalized size = 1.15 \[ \frac {(3 x+2) (\log (x)-\log (3 x+2))}{2 \sqrt {(3 x+2)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.32, size = 13, normalized size = 0.48 \[ -\frac {1}{2} \, \log \left (3 \, x + 2\right ) + \frac {1}{2} \, \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 21, normalized size = 0.78 \[ -\frac {1}{2} \, {\left (\log \left ({\left | 3 \, x + 2 \right |}\right ) - \log \left ({\left | x \right |}\right )\right )} \mathrm {sgn}\left (3 \, x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 28, normalized size = 1.04 \[ -\frac {\left (3 x +2\right ) \left (-\ln \relax (x )+\ln \left (3 x +2\right )\right )}{2 \sqrt {\left (3 x +2\right )^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.95, size = 24, normalized size = 0.89 \[ -\frac {1}{2} \, \left (-1\right )^{12 \, x + 8} \log \left (\frac {12 \, x}{{\left | x \right |}} + \frac {8}{{\left | x \right |}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.32, size = 23, normalized size = 0.85 \[ -\frac {\ln \left (\frac {6\,x+2\,\sqrt {{\left (3\,x+2\right )}^2}+4}{x}\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 12, normalized size = 0.44 \[ \frac {\log {\relax (x )}}{2} - \frac {\log {\left (x + \frac {2}{3} \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________